fix(chrome-extension): Remove Origin from API mutation request headers - #3363
Conversation
🦋 Changeset detectedLatest commit: 0def720 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
!snapshot |
|
Hey @tmilewski - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/chrome-extension@1.0.8-snapshot.v7aec5a2 --save-exact
npm i @clerk/clerk-js@5.2.4-snapshot.v7aec5a2 --save-exact
npm i @clerk/clerk-expo@1.0.8-snapshot.v7aec5a2 --save-exact
npm i gatsby-plugin-clerk@5.0.0-beta.45 --save-exact |
royanger
left a comment
There was a problem hiding this comment.
The snapshot resolved the errors I was seeing.
|
@tmilewski, @royanger Why is the case only for mutation requests? What is the error making the requests fail? |
|
@dimkl The long-and-short of it is that it was only happening for mutation requests, and yes After a bit of testing it was determined that while This, ultimately, wound up becoming an artifact of testing and had no effect on the end result. As such it didn't need to be approved/merged. |
Description
Mutation requests (think: sign out) would fail as the API doesn't allow for origin and authorization to be set at the same time.
Fixes SDK-1736
Checklist
npm testruns as expected.npm run buildruns as expected.Type of change